﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Dto
{
    public  class WareHouseInboundBillItemDto
    {
        /// <summary>
        /// 到货通知单明细id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 到货通知单编号
        /// </summary>
        public long WareHouseInboundBillId { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string ItemId { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string Spec { get; set; }
        public string Model { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string ItemCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public string UnitOfMeasure { get; set; }
        public int Count { get; set; }
        /// <summary>
        /// 到货数量
        /// </summary>
        public double Quantity { get; set; }

        /// <summary>
        /// 采购价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public decimal Tax { get; set; }

        /// <summary>
        /// 含税总价
        /// </summary>
        public decimal TaxAmount { get; set; }

        /// <summary>
        /// 不含税总价
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 质检状态
        /// 0:未质检
        /// 1:已质检
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 明细状态
        /// 0代表明细未加入到采购入库中
        /// 1代表明细已经加入到采购入库中
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }

    }
}
